[NTG-context] Re: Struggling with the distance and right margin text

2024-03-22 Thread Wolfgang Schuster
Ursula Hermann schrieb am 22.03.2024 um 15:57: Dear Pablo, Many thanks for your example. Sorry for writing so late. At least I found out, how it works for me .  This is the best way. \setuppapersize[A8,landscape] \setupbodyfont[termes, 12.50pt] \setuplayout[inrightmargin=5.1cm

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-22 Thread Pablo Rodriguez via ntg-context
On 3/22/24 15:57, Ursula Hermann wrote: > Dear Pablo,  > > Many thanks for your example. Sorry for writing so late.  Dear Ursula, many thanks for your minimal sample. > At least I found out, how it works for me .  This is the best way.  > [...] > \inrightmargin{\black

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-22 Thread Ursula Hermann
Dear Pablo, Many thanks for your example. Sorry for writing so late. At least I found out, how it works for me . This is the best way. \setuppapersize[A8,landscape] \setupbodyfont[termes, 12.50pt] \setuplayout[inrightmargin=5.1cm backspace=2.9cm, inleftmargin=0cm

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-15 Thread Pablo Rodriguez via ntg-context
ommands for each page? I think it is better to define a single margin text command and use a doublesided page setup. > \definemargindata[inrightmargin][right][margin=margin,width=.50em\rightmarginwidth,style=,color=] > \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt, &g

[NTG-context] Struggling with the distance and right margin text

2024-03-15 Thread Ursula Hermann
, width=13.50cm] \starttext \margintext {1.1.1} {\bf Beispiel 3.2.17. (Vertauschung von All- und Existenzquantor).} \par So I have here an example from the second page: \definemargindata[inrightmargin][right][margin=margin,width=.50em\rightmarginwidth,style=,color=] \definemarginframed[MyInMargin

Re: [NTG-context] right item marks for associative questions?

2022-04-11 Thread Pablo Rodriguez via ntg-context
On 4/11/22 20:46, Damien Thiriet via ntg-context wrote: > [...] > I design it as a two-cells xtable with itemized lists inside. > How can I have the item mark on the right side? Hi Damien, I’m not sure I get your point, but this may be helpful: \startitem \inrightmargin{\currenti

Re: [NTG-context] Formulanumbers in margin

2021-03-23 Thread Adam Reviczky
Hi, So the numbercommand does work after all, I just needed to keep something in the "formulanumber" part of the textline, otherwise it wouldn't get drawn. Not sure how nice this looks, but it does work like this now: \starttext \showframe \setupformulas[numbercommand=\nbsp\inr

Re: [NTG-context] Formulanumbers in margin

2021-03-21 Thread Adam Reviczky
\setupcaption[figure][location={rightmargin}] \startplacefigure[title=Cow] \externalfigure[cow] \stopplacefigure \define[1]\MyFormulaNumber{\inleftmargin{#1}} \setupformula[numbercommand=\MyFormulaNumber] \inleftmargin{Left Margin Text} \inrightmargin{Right Margin Text} \startplaceformula

[NTG-context] Defining \qed (was: Bug with \wordright...)

2020-08-08 Thread Otared Kavian
\definesymbol[Fin][\mathematics{\square}] \def\qed{% \ifmmode \inrightmargin{\hskip-7.5mm\symbol[Fin]} % --> attention here \else \dontleavehmode\wordright{\symbol[Fin]} \fi} \setupformulas[location=left] \starttext One s

Re: [NTG-context] issue with \comment

2020-06-16 Thread Wolfgang Schuster
\inrightmargin{Hello!}xxx \inrightmargin{Here!} %\inrightmargin{Here!}\dontleavehmode \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] notes in the margin

2018-01-23 Thread Henning Hraban Ramm
t; each footnote >> entry which can be done with the next key. The positioning of each margin >> text is tricky >> because \placenotes adds skips at the begin of the block (which can be >> reduced with >> \placelocalnotes) but a inline version of the command (e.g.

Re: [NTG-context] notes in the margin

2017-10-24 Thread Henning Hraban Ramm
ach footnote > entry which can be done with the next key. The positioning of each margin > text is tricky > because \placenotes adds skips at the begin of the block (which can be > reduced with > \placelocalnotes) but a inline version of the command (e.g. > \placeinlinenotes) which

Re: [NTG-context] notes in the margin

2017-04-09 Thread Wolfgang Schuster
skips and a rule at the begin would help. \define\PlaceFootnote {\inrightmargin{\vtop{\placelocalnotes[footnote][before=,after=]}}} \setupnote [footnote] [location=text, bodyfont=, next=\PlaceFootnote] \setupnotation [footnote] [alternative=serried] \setuplayout [width=12cm, rig

[NTG-context] \footnote and \note with \setupnotation[way=bypage], but it does not work with XML processing

2015-07-02 Thread mf
].\rawcountervalue[#1]}% } \def\showidinmargin#1{% \inrightmargin{ #1}% } \def\mynotelabel#1{#1pag\rawcountervalue[contapag#1]} \def\myfootnote#1#2{% \definenumber[contapag#1][prefix=no]% \incrementcounter[contapag#1]% \definenumber[#1][way=bypage,prefix=no]% \incrementcounter[#1

[NTG-context] Writing between lines

2015-04-13 Thread Otared Kavian
{\darkgray{\infofont #1}}}\atop{}}\atop{}}$} \def\placeformularef[#1]{\doifmode{proofreading}% {\inrightmargin{\infofont #1}}% \placeformula[#1]} \definereferenceformat[Eqref][left=(,right=)] \def\eqref[#1]{\betweenlines{#1}\Eqref[#1]} \setupformulas[location=right] \enablemode

Re: [NTG-context] Writing between lines

2015-04-13 Thread Hans Hagen
}% {\inrightmargin{\infofont #1}}% \placeformula[#1]} \definereferenceformat[Eqref][left=(,right=)] \def\eqref[#1]{\betweenlines{#1}\Eqref[#1]} \setupformulas[location=right] \enablemode[proofreading] \starttext We have \placeformularef[eq:Square] \startformula a^2 + 2ab + b^2 = (a + b)^2

Re: [NTG-context] \version[temporary] in mkiv

2015-04-11 Thread Otared Kavian
of the formula). The output is attached. % begin placeformula-ref.tex \def\placeformularef[#1]{\doifmodeelse{proofreading}% {\inrightmargin{\tt\txx #1}\placeformula[#1]}% {\placeformula[#1]}} \definereferenceformat[eqref][left=(,right=),text={formula }] \setupformulas[location

Re: [NTG-context] \version[temporary] in mkiv

2015-04-11 Thread Hans Hagen
to write in the margin next to the number of the formula). The output is attached. % begin placeformula-ref.tex \def\placeformularef[#1]{\doifmodeelse{proofreading}% {\inrightmargin{\tt\txx #1}\placeformula[#1]}% {\placeformula[#1]}} less code \def\placeformularef[#1

Re: [NTG-context] font modification in \inright

2007-11-26 Thread Boris Dagaev
Thomas, Wolfgang, Thank you very much!! Much cleaner now. P.S. Still can't figure out why \inright and \inrightmargin behave differently with respect to \vii (and such)... A lot to learn... a lot to learn... On Nov 26, 2007 6:07 AM, Wolfgang Schuster [EMAIL PROTECTED] wrote: 2007/11/26, Thomas

Re: [NTG-context] [Fwd: Line numbering]

2006-09-07 Thread Hans Hagen
proof of concept: \newcounter\TestNumber \let\normaldodoplacelinenumber\dodoplacelinenumber \def\dodoplacelinenumber {\doglobal\increment\TestNumber \xypos{lnm:\TestNumber}% \ifdim\MPx{lnm:\TestNumber}.5\makeupwidth \swapmacros\inleftmargin\inrightmargin \fi